#include "stdafx.h"
#include "AccountVerify.h"
#include "DBManager.h"

CAccountVerify::CAccountVerify()
{
    CDBManager::Instance();
}

CAccountVerify::~CAccountVerify()
{
    CDBManager::DestroyInstance();
}

bool CAccountVerify::Run()
{
    return CDBManager::Instance()->Run();
}

void CAccountVerify::Verify( const char * szUser, const char * szPassword, TCallback fCallback )
{
    CDBManager::Instance()->VerifyAccount(szUser, szPassword, fCallback);
}

bool CAccountVerify::Init()
{
    return CDBManager::Instance()->Init();
}

